home *** CD-ROM | disk | FTP | other *** search
- Path: usenet.cis.ufl.edu!caen!not-for-mail
- From: elpalmer@kecomp.coldwater.mi.us (Eric L. Palmer)
- Newsgroups: comp.lang.c++
- Subject: Wanted: routine to compare file time
- Date: 29 Jan 1996 22:51:02 GMT
- Organization: U of M
- Message-ID: <4ejj0m$j04@srvr1.engin.umich.edu>
- NNTP-Posting-Host: elpalmer@rep00498.reshall.umich.edu
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- I would like to examine the time a file was last accessed (in a
- POSIX-compliant unix environment) and compare that to the current time.
- I have tried getting st_atime with stat(), but the number doesn't seem to
- make sense.
-
- Thanks,
-
- - Eric
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Eric L. Palmer | elpalmer@umich.edu, elpalmer@kecomp.coldwater.mi.us
- U of M Computer Engin. | http://www-personal.engin.umich.edu/~elpalmer/
-